package com.tencreat.domain.mall.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 购物商城下单商品对象
 *
 * @Date 2019年3月8日
 * @company 深圳腾创互联科技有限公司 {@link www.tencreat.com/#/}
 */
@Data
public class ResOrderMallGoodsVO {

    /**
     * 商品id
     */
    @NotNull(message = "商品id不能为空")
    @ApiModelProperty(value = "商品id",required = true)
    private Long goodsId;

    /**
     * 商品规格id
     *
     */
    @ApiModelProperty(value = "商品规格id")
    private Integer goodsSpecId;

    /**
     * 商品货品id
     */
    @ApiModelProperty(value = "商品货品id")
    private Integer goodsProductId;

    /**
     * 商品数量
     */
    @ApiModelProperty(value = "商品数量",required = true)
    @NotNull(message = "商品数量不能为空")
    private Integer goodsNum;

}
